package com.ch.my

import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.fragment.app.Fragment
import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.launcher.ARouter
import com.ch.common.constant.ConstantValue


class MyFragment : Fragment() {
    private lateinit var root: View
    override fun onCreateView(
        inflater: LayoutInflater,
        container: ViewGroup?,
        savedInstanceState: Bundle?
    ): View? {
        root = inflater.inflate(R.layout.activity_main_t, container, false)
        init()
        return root
    }

    private fun init() {
        val myText: TextView = root.findViewById(R.id.my)
        myText.setOnClickListener {
          //  ARouter.getInstance().build(ConstantValue.PAHT_MAIN).navigation()
        }
    }
}